<?php
  $uri_ = explode('/',$_SERVER['SCRIPT_NAME']);
  $pageuri = end($uri_);
  array_pop($uri_);
  $uri = end($uri_);
?>
  <div id = "navigator">
    <div id = 'menu-container'>
      <div class = 'menu-btn fr' id = "mini-logo"><a href = "/"><img src = "../images/mini-logo.png"></a></div>
      <div class = 'menu-btn'><a <?php if($uri=='member'){ echo 'class="current"';} ?> href = "<?=ADMIN?>/member/index.php"><?_l('member')?></a></div>
      <div class = 'menu-btn'><a <?php if($uri=='product'){ echo 'class="current"';} ?> href = "<?=ADMIN?>/product/index.php"><?_l('product')?></a></div>
      <div class = 'menu-btn'><a <?php if($uri=='qoute'){ echo 'class="current"';} ?> href = "<?=ADMIN?>/qoute/index.php"><?_l('qoute')?></a></div>
      <div class = 'menu-btn'><a <?php if($uri=='promotion'){ echo 'class="current"';} ?> href = "<?=ADMIN?>/promotion/index.php"><?_l('promotion')?></a></div>
      <div class = 'menu-btn'><a <?php if($uri=='news'){ echo 'class="current"';} ?> href = "<?=ADMIN?>/news/index.php"><?_l('news & event')?></a></div>
      <div class = 'menu-btn'><a <?php if($uri=='banner'){ echo 'class="current"';} ?> href = "<?=ADMIN?>/banner/index.php"><?_l('banner')?></a></div>
      <div class = 'menu-btn'><a <?php if($uri=='contact'){ echo 'class="current"';} ?> href = "<?=ADMIN?>/contact/index.php"><?_l('contact')?></a></div>
      <div class = 'menu-btn'><a <?php if($uri=='system'){ echo 'class="current"';} ?> href = "<?=ADMIN?>/system/password.php"><?_l('config')?></a></div>
      <div class = 'menu-btn'><a href = "<?=ADMIN?>/logout.php"><?_l('logout')?></a></div>
    </div>
  </div>